from odoo import fields, models


class RmaLine(models.Model):
    _name = 's.rma.return.line'
    _description = 'RMA Return Line'

    rma_id = fields.Many2one('rma')
    sale_id = fields.Many2one('sale.order', 'Sale')
    sale_line_id = fields.Many2one('sale.order.line', 'sale line')
    product_id = fields.Many2one('product.product', 'product')
    order_qty = fields.Integer('Quantity')
    delivery_qty = fields.Integer('Delivery Quantity')
    return_qty = fields.Integer('Return Quantity')
    product_uom_id = fields.Many2one('uom.uom', 'uom')
    order_date = fields.Datetime('order date')

